Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Mount/GCS_MAVLink: move handling of all do-set-roi to AP_Mount library #24654

Merged
merged 2 commits into from
Aug 26, 2023

Conversation

khanasif786
Copy link
Contributor

@khanasif786 khanasif786 commented Aug 15, 2023

In reference to issue #24571
Initial Draft
(Not tested yet so Draft)

ArduCopter/GCS_Mavlink.cpp Outdated Show resolved Hide resolved
@rmackay9
Copy link
Contributor

PeterB says, move this block from GCS_MAVLink::handle_command_long() to GCS_MAVLink::handle_command_int()..

case MAV_CMD_DO_MOUNT_CONFIGURE:
case MAV_CMD_DO_MOUNT_CONTROL:
case MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW:
case MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE:
// some mount commands require the source sysid and compid
result = handle_command_mount(packet, msg);
break;

libraries/GCS_MAVLink/GCS_Common.cpp Outdated Show resolved Hide resolved
@khanasif786 khanasif786 reopened this Aug 25, 2023
@khanasif786 khanasif786 marked this pull request as ready for review August 25, 2023 20:46
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rmackay9
Copy link
Contributor

@khanasif786, thanks for this. Can you clarify what testing has been done? .. and maybe update the Description above..

@peterbarker peterbarker merged commit e3f0904 into ArduPilot:master Aug 26, 2023
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants